/***************************************************************************
 *   Copyright (C) 2009 by wutongyu   *
 *
 ***************************************************************************/

#include "Contact.h"

Contact::Contact(){
}

Contact::Contact(const Contact &c){
  dorm = c.dorm;
  email = c.email;
  mobileNumber = c.mobileNumber;
  name = c.name;
  qqNumber = c.qqNumber;
  workTime = c.workTime;
  workerID = c.workerID;
}

Contact & Contact::operator =(const Contact &c){
  dorm = c.dorm;
  email = c.email;
  mobileNumber = c.mobileNumber;
  name = c.name;
  qqNumber = c.qqNumber;
  workTime = c.workTime;
  workerID = c.workerID;
  
  return *this;
}